<!--title-->
<div class="mnav1">
	<div class="m_nav">
		<div class="nav_left">
			<em class="home_icon"><?=$this->sys_name?></em><span>&nbsp;&gt;&nbsp;</span><font><?=$this->title?></font>
		</div>
	</div>
</div>

<div class="content-table2">
<div class="content-table-title"><?=$this->title?></div>
<div class="form-edit-task">

<form action="/clients/add-owner-submit" method="post" name="form1" onsubmit="submitform(this);return false;">
<table border="0" width="100%">
	<tr>
		<td align="right">乙方单位名称：</td>
		<td align="left">&nbsp;<input type="text" placeholder="乙方单位名称" name="owner_name" id="owner_name" style="width: 300px"><font color="red"> *</font></td>
	</tr>
	<tr>
		<td colspan="2" align="center"><br><br><input type="button" class="buttonlong" value="提交" onclick="submitform();return false;" /></td>
	</tr>
</table>
<br /><br />
</form>
</div>
<br/><br/>
</div>

<script>
<?php if($this->msg):?>
alert("<?=$this->msg?>, 信息提交失败, 请修改后再次提交。");
<?php endif;?>

function submitform() 
{
	
	if( document.form1.owner_name.value.length == 0 )
	{
		alert("乙方单位名称不能为空。");
		return false;
	}
	
	form1.submit();
}
</script>
